#ifndef RUNACTION_H
#define RUNACTION_H

#include <geant4/G4UserRunAction.hh>
#include <geant4/globals.hh>

class G4Run;
class DetectorConstruction;

class RunAction : public G4UserRunAction
{
public:
    RunAction(DetectorConstruction *detector);
    ~RunAction();

    void BeginOfRunAction(const G4Run*);
    void EndOfRunAction(const G4Run*);

private:
    DetectorConstruction *detector;
};

#endif // RUNACTION_H
